<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 14-3-20
  Time: 下午2:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <title>维修记录</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/menu.js"></script>

    <script src='<%=basePath%>dwr/util.js' type="text/javascript"></script>
    <script src='<%=basePath%>dwr/engine.js' type="text/javascript"></script>
    <script src='<%=basePath%>dwr/interface/maintainingService.js' type='text/javascript'></script>

</head>
<body>
<%@ include file="/page/share/menu.jsp" %>
<div id="content">
    <form method="post" action="Maintaining!doMaintaining.action">
        <table>
            <tr>
                <td style="text-align: center">
                    申请时间：
                </td>
                <td>
                    <fmt:formatDate value="${maintaining.applyDate}" pattern="yyyy-MM-dd"/>
                </td>
            </tr>
            <tr>
                <td style="text-align: center">
                    宿舍：
                </td>
                <td>
                    ${maintaining.dormitory.dormitoryId}
                </td>
            </tr>
            <tr>
                <td style="text-align: center">
                    问题描述：
                </td>
                <td>
                    ${maintaining.description}
                </td>
            </tr>
            <tr>
                <td style="text-align: center">
                    希望维修时间：
                </td>
                <td>
                    ${maintaining.preferTime}
                </td>
            </tr>
            <tr>
                <td style="text-align: center" colspan="2">
                    <input type="hidden" value="${maintaining.id}" name="id">
                    <span>评价：</span><textarea name="evaluate" cols="15" rows="2"></textarea>
                </td>
            </tr>
            <tr>
                <td style="text-align: center" colspan="2">
                    <input type="hidden" value="1" name="flag">
                    <input type="submit" value="评价">
                </td>
            </tr>
        </table>
    </form>
</div>


</body>
</html>
